home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 April: Mac OS SDK / Dev.CD Apr 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / Samples / SampleCode / View3DMF NetScape Plugin / CommonSample / MyErrorHandler.h < prev    next >
Encoding:
Text File  |  1996-05-21  |  571 b   |  26 lines  |  [TEXT/MPCC]

  1. // Quickdraw 3D sample code
  2. //
  3. // Nick Thompson, AppleLink: DEVSUPPORT (devsupport@applelink.apple.com)
  4. //
  5. // ©1994-5 Apple Computer Inc., All Rights Reserved
  6.  
  7. #ifndef _MYERROR_HANDLER_
  8. #define _MYERROR_HANDLER_
  9.  
  10. #include "QD3D.h"
  11. #include "QD3DErrors.h"
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif /*  __cplusplus  */
  16.  
  17. void MyErrorHandler( TQ3Error error, TQ3Error error2, long  refCon ) ;
  18. void MyWarningHandler( TQ3Warning sticky, TQ3Warning latest, long refCon ) ;
  19.  
  20. extern const int kErrorHandlerAlertID ; // 21032
  21.  
  22. #ifdef __cplusplus
  23. }
  24. #endif  /*  __cplusplus  */
  25.  
  26. #endif